package serializableObj;

import java.io.Serializable;

public class Students implements Serializable {
	private int id;
	private int age;
	private String name;
	private transient String pw;
	
	public Students(){
		
	}
	
	public Students(int id, int age, String name, String pw){
		this.id = id;
		this.age = age;
		this.name = name;
		this.pw = pw;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPw() {
		return pw;
	}

	public void setPw(String pw) {
		this.pw = pw;
	}

}
